<template>
  <el-card>
    <el-row type="flex" justify="space-between">
      <el-col>
        <slot>
          <el-tag v-if="before">
            <i class="el-icon-info"></i>
            <span>共有{{before}}条记录</span>
          </el-tag>
        </slot>
      </el-col>
      <el-col>
        <el-row type="flex" justify="end">
          <slot name="after"></slot>
        </el-row>
      </el-col>
    </el-row>
  </el-card>
</template>

<script>
export default {
  name: "Toputil",
  props: ["before"]
};
</script>

<style>
</style>